#ifndef ROOM_H_
#define ROOM_H_
class room
{
  private:
  
  public:
  int x;
  int y;
  int w;
  int h;
  int fcolor;
  int bcolor;
  
  room();
  room(int nx, int ny, int nw, int nh); //Returns a room object with these coordinates.
};
#endif

#ifndef HALLWAYSEG_H_
#define HALLWAYSEG_H_
class hallwayseg : public room //Hallway segment object 
{
  hallwayseg();
  hallwayseg(int nx, int ny);
};

#endif


#ifndef BOARD_H_
#define BOARD_H_
class board
{
    private:
    room rooms[20];
    int numrooms; //Used in the loop in buildRoom(), internal bookkeeping.
    
    public:
    
    terrain data[100][100]; //Contains the map data
    int screenx; //Camera controls.
    int screeny; //Camera controls.
    board(); //Makes empty boards.
    void make(); //Makes a board
    void draw();
    void buildRoom(); //Builds a random room.
    bool buildHallway(room one, room two); //Builds a hallway between the two points given.
};
#endif
